
cmake_minimum_required(VERSION 3.0)


project(io_reuse_module)

add_definitions(-g -Wall -Wshadow)

include_directories(./)
include_directories(./../)
include_directories(./../../)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(open_libs gtest_main gtest)

set(test_loop_pool_src_list
		./test_loop_pool.cpp
		./../loop_pool.cpp
		./../loop.cpp
        ./../../timer/timer_channel.cpp
        ./../../timer/timer_description.cpp
        ./../../timer/timer_task.cpp
		./../../io_reuse_module/io_epoll.cpp
        ./../../io_reuse_module/io_poll.cpp
        ./../../io_reuse_module/io_reuse_module.cpp)

add_executable(TEST_LOOP_POOL ${test_loop_pool_src_list})

target_link_libraries(TEST_LOOP_POOL	 ${open_libs})


